package leetcode.D300.T257;

import util.TreeNode;
import util.TreeUtil;

import java.util.List;

public class E257 {
    public static void main(String[] args) {
        String data = "[1,2,3,null,5,null,null]";
        TreeNode root = TreeUtil.deserialize(data);
        List<String> results = new Solution().binaryTreePaths(root);
        for (String res : results) {
            System.out.println(res);
        }
    }
}
